///////////////////////////////////
	// Start player = 1
	player_ndx=1; 
	
	player=m_holdem_state[m_ndx].m_player[player_ndx];

	if (player.m_name_known==1) {
		player1name = player.m_name;
		player1.name = &player1name;
	} else {
		player1.name = NULL;
	}

	if (player.m_balance_known==1) {
		player1balance =  player.m_balance;
		player1.balance=&player1balance;
		player1currentBet  =  player.m_currentbet;
		player1.currentBet=&player1currentBet;
	} else {
		player1.balance= NULL;
		player1.currentBet = NULL;
	}

	// cards
	player1pocketCardA.rank=RANK(player.m_cards[1]);
	player1pocketCardA.suit=SUIT(player.m_cards[1]);
	player1pocketCardB.rank=RANK(player.m_cards[1]);
	player1pocketCardB.suit=SUIT(player.m_cards[1]);
	
	player1.pocketCardA=&player1pocketCardA;
	player1.pocketCardB=&player1pocketCardB; 


	// booleans 
	if (player_ndx==dealerchair) {
		player1dealer=true;
	} else {
		player1dealer=false;
	}
	player1.dealer=&player1dealer;

	if ((player_ndx==userchair)&&(ismyturn==7)) {
		player1myTurn=true;
	} else {
		player1myTurn=false;
	}
	player1.myTurn=&player1myTurn;  

	
	// Has this seat
	player1occupied=is_seated(player_ndx);
	player1.occupied=&player1occupied; 

	// Has joined the game
	player1seated=is_active(player_ndx);
	player1.seated=&player1seated;

	// Has been dealt cards
	player1dealtin=is_dealt(player_ndx);
	player1.dealtIn=&player1dealtin; 

	// Still has cards
	player1folded=player1dealtin&&(!is_playing(player_ndx));
	player1.folded=&player1folded;  

	// TODO 
	//	player1.winner=&player1winner;  
	
	player1position= pos_pf(player_ndx);
	player1.position=&player1position;  

	player1id=1;
	player1.id=&player1id;  

	tableimage.players.push_back(&player1);

	// END PLAYER 1
	///////////////////////////////////